package com.mdxq.mall.sale.client;

import com.mdxq.mall.response.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "shop-product")
//@Service
public interface ProductServiceClient {
    @GetMapping("api/v1/product/getBaseInfo/{id}")
    public R getBaseInfo(@PathVariable Long id);
}
